#ifndef MAIN_WIDGET_H
#define MAIN_WIDGET_H

#include <QWidget>
#include <QMqttClient>


#include <QString>
namespace Ui {
class main_widget;
}

class main_widget : public QWidget
{
    Q_OBJECT

public:
    explicit main_widget(QWidget *parent = nullptr);
    ~main_widget();


    void  mqttset(QString temp_str , int mqtt_temp);






private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

    void on_pushButton_3_clicked();

    void on_pushButton_4_clicked();

    void on_pushButton_5_clicked();



    void on_dial_LED_valueChanged(int value);

    void on_dial_FAN_valueChanged(int value);

    void on_dial_BEEP_valueChanged(int value);

    void on_pushButton_6_clicked();

    void on_pushButton_7_clicked();

    void on_checkBox_checkStateChanged(const Qt::CheckState &arg1);

    void on_checkBox_stateChanged(int arg1);

    void on_pushButton_12_clicked();

    void on_pushButton_11_clicked();

    void on_pushButton_13_clicked();

    void on_pushButton_14_clicked();

    void on_pushButton_15_clicked();

private:
    Ui::main_widget *ui;
    QMqttClient *m_client;
};

#endif // MAIN_WIDGET_H
